﻿using LinkyPOS.Class;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LinkyPOS
{
    public partial class Raporlar : Form
    {
        public Raporlar()
        {
            InitializeComponent();
        }
        int a = 0;

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void Raporlar_Load(object sender, EventArgs e)
        {
            this.Location = new Point(0, 0);
            //this.Size = Screen.PrimaryScreen.WorkingArea.Size;
        }

        private void button1_Click(object sender, EventArgs e)
        {
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
          
        }

        private void radioButton3_CheckedChanged(object sender, EventArgs e)
        {
           
        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {
           
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (comboBox1.SelectedItem.ToString())
            {
                case "Kasa Raporlar":
                    KasaRaporlari ks = new KasaRaporlari();               
                    ks.Show();
                    break;
                case "Siparişler":
                    Siparisler sp = new Siparisler();
                    sp.Show();
                    break;
                case "İskontolar":

                    iskontolar isk = new iskontolar();
                    isk.Show();
                    break;
                case "İptaller":
                    iptaller ip = new iptaller();
                    ip.Show();
                    break;
                case "Masraf Raporlar":
                    masrafRaporlari msp = new masrafRaporlari();
                    msp.Show();
                    break;
                case "Raftakiler":
                    Raftakiler rf = new Raftakiler();
                    rf.Show();
                    break;
                case "Olaylar":

                    olaylar ol = new olaylar();
                    ol.Show();
                    break;

                default:

                    break;
            }
        }

        private void btnGiris_Click(object sender, EventArgs e)
        {
            ayarlar2 ay = new ayarlar2();


            if (ay.Adminsifresi == textBox1.Text)
            {
                pnlFinal.Visible = false;
            }
        }
    }
}
